<div class="float_right" id="loginDiv">
    <script type="text/javascript">
        myAds.onSubmitForm('#loginForm', '#loginDiv', false, null, true, true);
    </script>
    <form id="loginForm" method="POST" action="<?php echo $this->url(array("controller" => 'access', "action" => "loginSubmit")); ?>" >
        <div>
            <input name="data[userName]" type="text" class="txt1 required float_left gray_bo m3r"/>
            <input name="data[userPass]" type="text" class="txt1 required float_left gray_bo"/>
            <br class="cb" />
        </div>
        <div class="p10t">
            <p class="float_left">
                <input name="" type="checkbox" value="" />
                Remember me</p>
            <p class="float_right">
                <a href="javascript: void(0)" onclick="myAds.showLoadingIcon(this); jQuery('#loginForm').submit(); ">Login</a> | 
                <a href="#">Register</a></p>
            <br class="cb" />
        </div>
    </form>
</div>